/**
 * 
 */
package cn.com.winning.ecare.activity;

import cn.com.winning.ecare.common.MyApplication;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

/**健康测评-血压
 * @author Administrator
 */
public class HealthAssessmentXueYa extends Activity
{
	private HealthAssessmentXueYa oThis = this;
	private ImageButton menuButton;
	private ImageButton mainselected;
	MyApplication myApplication;
	/*
	 * (non-Javadoc)
	 * 
	 * @see android.app.Activity#onCreate(android.os.Bundle)
	 */
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		this.setContentView(R.layout.healthassessmentxueya);
		myApplication = (MyApplication) getApplication();
		myApplication.addActivity(this);
		findViews();
		setListeners();
	}
	
	private void findViews()
	{
		menuButton = (ImageButton) findViewById(R.id.menuButton);
		mainselected = (ImageButton) findViewById(R.id.mainselected);
	}

	private void setListeners()
	{
		menuButton.setOnClickListener(new OnClickListener()
		{
			@Override
			public void onClick(View v)
			{
				oThis.onBackPressed();
			}
		});
		mainselected.setOnClickListener(new OnClickListener()
		{

			@Override
			public void onClick(View view)
			{
				Intent intent = new Intent();
				intent.setClass(oThis, Mainmean.class);
				startActivity(intent);
				oThis.finish();
			}
		});
		
	}

}
